package com.demo2do.fms.scheduler.entity;

import java.util.Date;

/**
 *
 * @author Ark
 *
 */
public class VehicleSourceLockRecord {

	/** id */
    private Long id;
    
    /** 对应车辆 */
    private Long vehicleSourceId;
    
    /** 状态 */
    private int status;
    
    /** 记录描述 */
    private String description;
    
    /** 操作时间 */
    private Date createTime;
    
    /** 操作人 */
    private Long operator;
    
    /**
     * The default constructor
     */
    public VehicleSourceLockRecord() {
        
    }
    
    /**
     * @param vehicleSourceId
     * @param status
     * @param description
     */
    public VehicleSourceLockRecord(Long vehicleSourceId, int status, String description) {
        this.vehicleSourceId = vehicleSourceId;
        this.status = status;
        this.description = description;
        this.operator = null;
        this.createTime = new Date();
    }

	/**
	 * @return
	 */
	public Long getId() {
		return id;
	}

	/**
	 * @return the vehicleSourceId
	 */
	public Long getVehicleSourceId() {
		return vehicleSourceId;
	}

	/**
	 * @return the status
	 */
	public int getStatus() {
		return status;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @return the operator
	 */
	public Long getOperator() {
		return operator;
	}

	/**
	 * @param id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @param vehicleSourceId the vehicleSourceId to set
	 */
	public void setVehicleSourceId(Long vehicleSourceId) {
		this.vehicleSourceId = vehicleSourceId;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(int status) {
		this.status = status;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * @param operator the operator to set
	 */
	public void setOperator(Long operator) {
		this.operator = operator;
	}

}
